package com.wellsoft.mobileoa.wsmodel;

import java.util.List;

import android.os.Parcel;
import android.os.Parcelable;

import com.wmobile.utils.BaseObject;

public class WSOA_Page extends BaseObject {
	/**
	 * 
	 */
	private static final long serialVersionUID = 95745306859501906L;

	public WSOA_Page() {
		this.setNameSpace("http://mobileoa.well-soft.com/");
	}

	private String pageType;
	private WSOA_PageTitle pageTitle;
	private List<WSOA_PageMenu> pageMenus;
	private WSOA_PageListSet pageListSet;
	private WSOA_PageListInfo pageListInfo;
	private List<WSOA_PageField> pageFields;
	private List<WSOA_Action> actions;

	public List<WSOA_PageMenu> getPageMenus() {
		return pageMenus;
	}
	public void setPageMenus(List<WSOA_PageMenu> pageMenus) {
		this.pageMenus = pageMenus;
	}
	public String getPageType() {
		return pageType;
	}
	public void setPageType(String pageType) {
		this.pageType = pageType;
	}
	public WSOA_PageTitle getPageTitle() {
		return pageTitle;
	}
	public void setPageTitle(WSOA_PageTitle pageTitle) {
		this.pageTitle = pageTitle;
	}
	public WSOA_PageListSet getPageListSet() {
		return pageListSet;
	}
	public void setPageListSet(WSOA_PageListSet pageListSet) {
		this.pageListSet = pageListSet;
	}
	public WSOA_PageListInfo getPageListInfo() {
		return pageListInfo;
	}
	public void setPageListInfo(WSOA_PageListInfo pageListInfo) {
		this.pageListInfo = pageListInfo;
	}
	public List<WSOA_PageField> getPageFields() {
		return pageFields;
	}
	public void setPageFields(List<WSOA_PageField> pageFields) {
		this.pageFields = pageFields;
	}
	public List<WSOA_Action> getActions() {
		return actions;
	}
	public void setActions(List<WSOA_Action> actions) {
		this.actions = actions;
	}
//	@Override
//	public int describeContents() {
//		return 0;
//	}
//	@Override
//	public void writeToParcel(Parcel dest, int flags) {
//		
//		dest.writeString(pageType);
//		dest.writeValue(pageTitle);
//		dest.writeValue(pageMenus);
//		dest.writeValue(pageListSet);
//		dest.writeValue(pageListInfo);
//		dest.writeValue(pageFields);
//		dest.writeValue(actions);
//		
//	}
	
//	public static final Parcelable.Creator<Person> CREATOR = new Parcelable.Creator<Person>() {   
//		//重写Creator
//		  
//		        @Override  
//		        public Person createFromParcel(Parcel source) {   
//		            Person p = new Person();   
//		            p.map=source.readHashMap(HashMap.class.getClassLoader());   
//		            p.name=source.readString();   
//		            return p;   
//		        }   
//		  
//		        @Override  
//		        public Person[] newArray(int size) {   
//		            // TODO Auto-generated method stub   
//		            return null;   
//		        }   
//		    };   

}
